From 332f7448adfa15c358f95f3085901fc1aece903e Mon Sep 17 00:00:00 2001 From: "djm@kirby.fc.hp.com" Date: Wed, 7 Sep 2005 10:51:28 -0600 Subject: [PATCH] Temporary fix to ensure store page is accessible to domain. --- xen/arch/ia64/xen/dom_fw.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xen/arch/ia64/xen/dom_fw.c b/xen/arch/ia64/xen/dom_fw.c index d606edafe2..fa9df2f23c 100644 --- a/xen/arch/ia64/xen/dom_fw.c +++ b/xen/arch/ia64/xen/dom_fw.c @@ -512,6 +512,10 @@ dom_fw_init (struct domain *d, char *args, int arglen, char *fw_mem, int fw_mem_ return 0; } */ + /* Last page is for xenstore, and not exported to domain */ + if (d != dom0) + maxmem = (d->max_pages - 1) * PAGE_SIZE; + memset(fw_mem, 0, fw_mem_size); #ifdef XEN -- 2.30.2